<template>
  <view class="container">
    <uni-card>
      <uni-list>
        <!-- 操作日志入口 -->
        <uni-list-item
          title="操作日志"
          note="系统操作日志记录"
          clickable
          @click="handleOperlog"
          showArrow
        />
        
        <!-- 登录日志入口 -->
        <uni-list-item
          title="登录日志"
          note="系统登录日志记录"
          clickable
          @click="handleLogininfor"
          showArrow
        />
      </uni-list>
    </uni-card>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    /** 跳转到操作日志 */
    handleOperlog() {
      uni.navigateTo({
        url: '/pages/system/log/operlog'
      });
    },
    /** 跳转到登录日志 */
    handleLogininfor() {
      uni.navigateTo({
        url: '/pages/system/log/logininfor'
      });
    }
  }
};
</script>

<style>
.container {
  padding: 20rpx;
}
</style> 